package com.sls.game.service;

import com.sls.core.socket.Head;
import com.sls.core.socket.ServerDisponseException;
import com.sls.game.page.Pagination;
import com.sls.game.pojo.xingqitian.XingAccountTypeInfo;
import com.sls.game.pojo.xingqitian.XingChargeTypeInfo;
import com.sls.game.pojo.xingqitian.XingDisCountInfo;
import com.sls.game.pojo.xingqitian.XingGameAreaSrvInfo;
import com.sls.game.pojo.xingqitian.XingGoodsTopInfo;
import com.sls.game.pojo.xingqitian.XingParvalueInfo;

/**
 * 
 * @description 星启天商品管理
 * @author Wangxuegang
 * @date 2012-12-22
 */
public interface XingGoodsManagerService {

	/**
	 * 插入记录
	 * 
	 * @param body
	 * @param head
	 * @return
	 * @throws ServerDisponseException
	 */
	public String insertOfGoodsTop(String body, Head head)
			throws ServerDisponseException;

	/**
	 * 插入记录
	 * 
	 * @param body
	 * @param head
	 * @return
	 * @throws ServerDisponseException
	 */
	public String insertOfParvalue(String body, Head head)
			throws ServerDisponseException;

	/**
	 * 记录插入
	 * 
	 * @param body
	 * @param head
	 * @return
	 * @throws ServerDisponseException
	 */
	public String insertOfChargeType(String body, Head head)
			throws ServerDisponseException;

	/**
	 * 记录插入
	 * 
	 * @param body
	 * @param head
	 * @return
	 * @throws ServerDisponseException
	 */
	public String insertOfAccountType(String body, Head head)
			throws ServerDisponseException;

	/**
	 * 记录插入
	 * 
	 * @param body
	 * @param head
	 * @return
	 * @throws ServerDisponseException
	 */
	public String insertOfAreaSrv(String body, Head head)
			throws ServerDisponseException;

	/**
	 * 插入记录
	 * 
	 * @param body
	 * @param head
	 * @return
	 * @throws ServerDisponseException
	 */
	public String insertOfDiscount(String body, Head head)
			throws ServerDisponseException;

	/**
	 * 商品详细头部内容表--分页展示
	 * 
	 * @param body
	 * @param head
	 * @return
	 * @throws ServerDisponseException
	 */
	public Pagination<XingGoodsTopInfo> queryByPageOfGoodsTop(String body,
			Head head) throws ServerDisponseException;

	/**
	 * 星启天面额信息表--分页展示
	 * 
	 * @param body
	 * @param head
	 * @return
	 * @throws ServerDisponseException
	 */
	public Pagination<XingParvalueInfo> queryByPageOfParvalue(String body,
			Head head) throws ServerDisponseException;

	/**
	 * 星启天充值类型表--分页展示
	 * 
	 * @param body
	 * @param head
	 * @return
	 * @throws ServerDisponseException
	 */
	public Pagination<XingChargeTypeInfo> queryByPageOfChargeType(String body,
			Head head) throws ServerDisponseException;

	/**
	 * 星启天账户类型表--分页展示
	 * 
	 * @param body
	 * @param head
	 * @return
	 * @throws ServerDisponseException
	 */
	public Pagination<XingAccountTypeInfo> queryByPageOfAccountType(
			String body, Head head) throws ServerDisponseException;

	/**
	 * 星启天区服信息表--分页展示
	 * 
	 * @param body
	 * @param head
	 * @return
	 * @throws ServerDisponseException
	 */
	public Pagination<XingGameAreaSrvInfo> queryByPageOfAreaSrv(String body,
			Head head) throws ServerDisponseException;

	/**
	 * 星启天价格折扣表--分页展示
	 * 
	 * @param body
	 * @param head
	 * @return
	 * @throws ServerDisponseException
	 */
	public Pagination<XingDisCountInfo> queryByPageOfDiscount(String body,
			Head head) throws ServerDisponseException;

	/**
	 * 面值信息详情查询
	 * 
	 * @param body
	 * @param head
	 * @return
	 */
	public XingParvalueInfo queryParvalueById(String body, Head head)
			throws ServerDisponseException;

	/**
	 * 异步充值订单状态变化通知接口
	 * 
	 * @param body
	 * @param head
	 * @return
	 * @throws ServerDisponseException
	 */
	public String insertOfOrderStatus(String body, Head head)
			throws ServerDisponseException;

	/**
	 * 支付订单状态查询
	 * 
	 * @param body
	 * @param head
	 * @return
	 * @throws ServerDisponseException
	 */
	public String saveQueryOrderStatus(String body, Head head)
			throws ServerDisponseException;

	/**
	 * xing_qi_accounttype表记录详情
	 * 
	 * @param body
	 * @param head
	 * @return
	 * @throws ServerDisponseException
	 * @date 2012-12-28
	 */
	public String queryAccountTypeInfoById(String body, Head head)
			throws ServerDisponseException;

	/**
	 * xing_qi_chargetype表记录详情
	 * 
	 * @param body
	 * @param head
	 * @return
	 * @throws ServerDisponseException
	 * @date 2012-12-28
	 */
	public String queryChargetypeInfoById(String body, Head head)
			throws ServerDisponseException;

	/**
	 * xing_qi_area_srv表记录详情
	 * 
	 * @param body
	 * @param head
	 * @return
	 * @throws ServerDisponseException
	 * @date 2012-12-28
	 */
	public String queryAreaSrvInfoById(String body, Head head)
			throws ServerDisponseException;

	/**
	 * xing_qi_game_topinfo表记录详情
	 * 
	 * @param body
	 * @param head
	 * @return
	 * @throws ServerDisponseException
	 * @date 2012-12-28
	 */
	public String querygoodsTopInfoById(String body, Head head)
			throws ServerDisponseException;

	/**
	 * xing_qi_discount表记录详情
	 * 
	 * @param body
	 * @param head
	 * @return
	 * @throws ServerDisponseException
	 * @date 2012-12-28
	 */
	public String queryDiscountInfoById(String body, Head head)
			throws ServerDisponseException;

	/**
	 * 更新产品折扣率
	 * 
	 * @param body
	 * @param head
	 * @throws ServerDisponseException
	 */
	public void updateSalePrice(String body, Head head)
			throws ServerDisponseException;

}
